<template>
  <div class="footer-container">
    <div class="service">
      <ul>
        <li>
          <img src="@/static/images/common/foot1.png" alt="" />
          <span>7天无理由退货</span>
        </li>
        <li>
          <img src="@/static/images/common/foot2.png" alt="" />
          <span>15天无理由换货</span>
        </li>
        <li>
          <img src="@/static/images/common/foot3.png" alt="" />
          <span>满599包邮</span>
        </li>
        <li>
          <img src="@/static/images/common/foot4.png" alt="" />
          <span>手机特色服务</span>
        </li>
      </ul>
    </div>
    <div class="address">
      <div>
        <p>蜗牛家具©2019-2021 公司版权所有 京IPC备080100-xx号</p>
        <p>
          违法和不良信息举报电话：400-800-1200
          本站所有数据除特殊说明，均为实验数据
        </p>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  setup() {
    return {};
  },
});
</script>

<style lang="scss" scoped>
.footer-container {
  width: 100%;
  height: 204px;
  margin-top: 10px;
  border-top: 1px solid #ddd;
}
.service {
  width: 100%;
  height: 116px;

  ul {
    width: 1136px;
    margin: 0 auto;
    display: flex;

    li {
      width: 25%;
      line-height: 116px;
      text-align: center;
      position: relative;

      img {
        vertical-align: middle;
      }

      span {
        display: inline-block;
        line-height: 116px;
        margin-left: 10px;
      }
      &:not(:last-child)::after {
        content: '';
        position: absolute;
        width: 1px;
        height: 36px;
        top: 40px;
        right: 10px;
        background-color: #666;
      }
    }
  }
}
.address {
  width: 100%;
  height: 88px;
  background-color: #000;

  div {
    width: 1136px;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    color: #ccc;
    font-size: 12px;
    padding-top: 30px;
    box-sizing: border-box;

    p {
      margin: 0;

      &:last-child {
        margin-top: 10px;
      }
    }
  }
}
</style>
